<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<title><!--{if !empty($navtitle)}-->$navtitle - <!--{/if}-->$_G[setting][sitename] </title>
		<meta name="keywords" content="{if !empty($_G[setting][metakeywords])}{echo htmlspecialchars($_G[setting][metakeywords])}{/if}" />
		<meta name="description" content="{if !empty($_G[setting][metadescription])}{echo htmlspecialchars($_G[setting][metadescription])} {/if}" />
		<meta name="generator" content="oaooa" />
		<meta name="author" content="oaooa" />
		<meta name="copyright" content="2012-{eval echo dgmdate(TIMESTAMP,'Y-m-d');} www.oaooa.com" />
		<meta name="MSSmartTagsPreventParsing" content="True" />
		<meta http-equiv="MSThemeCompatible" content="Yes" />
		<meta name="renderer" content="webkit">
		<base href="{$_G['siteurl']}" />
		
		<link rel="stylesheet" href="static/element/Element-Plus/ElementPlus.css?{VERHASH}">
		<link rel="stylesheet" href="static/scss/common.css?{VERHASH}">
		
		<script type="text/javascript" src="static/vue/vue@3/vue.prod.js?{VERHASH}"></script>
		
		<script type="text/javascript" src="static/element/Element-Plus/ElementPlus.min.js?{VERHASH}"></script>
		<script type="text/javascript" src="static/element/Element-Plus/zhCn.js?{VERHASH}"></script>
		<!--{if $_G['language_list'][$_G['language']] && ($elementflag=$_G['language_list'][$_G['language']]['elementflag'])}-->
		<script type="text/javascript" src="static/element/Element-Plus/locale/{$elementflag}.js?{VERHASH}"></script>
		<!--{/if}-->
		<script type="text/javascript" src="static/js/qs.min.js?{VERHASH}"></script>
		
		<script type="text/javascript" src="static/element/Element-Plus/index.iife.min.js?{VERHASH}"></script>
		<script type="text/javascript" src="static/axios/axios.min.js?{VERHASH}"></script>
		<script type="text/javascript" src="static/vue_components/avatar/pc/index.js?{VERHASH}"></script>
		<script type="text/javascript" src="static/vue_components/international/pc/index.js?{VERHASH}"></script>
		<script type="text/javascript">var DZZSCRIPT='{DZZSCRIPT}',moreLanguageState='{$_G[moreLanguageState]}',language_list={eval echo json_encode($_G[language_list])},LANG='{$_G[language]}', STATICURL = 'static/', IMGDIR = '{$_G[setting][imgdir]}', VERHASH = '{VERHASH}', charset = '{CHARSET}', dzz_uid = '$_G[uid]', cookiepre = '{$_G[config][cookie][cookiepre]}', cookiedomain = '{$_G[config][cookie][cookiedomain]}', cookiepath = '{$_G[config][cookie][cookiepath]}',attackevasive = '{$_G[config][security][attackevasive]}', disallowfloat = '{$_G[setting][disallowfloat]}',  REPORTURL = '$_G[currenturl_encode]', SITEURL = '$_G[siteurl]', JSPATH = '$_G[setting][jspath]',MOD_PATH='{MOD_PATH}',APP_URL='{MOD_URL}',MOD_URL='{MOD_URL}';axios.defaults.headers.post['X-Requested-With'] = 'XMLHttpRequest';axios.interceptors.request.use(function(config){if(config.method === 'post'&&config.url.indexOf('notqs')==-1){config.data = Qs.stringify(config.data);}return config;});</script>
		<script>
			// http response 拦截器
			axios.interceptors.request.use(function (config) {
				// 在发送请求之前做些什么
			    if(!config.data){
					config.headers['X-Requested-With']='XMLHttpRequest';
				}
				return config;
			 }, function (error) {
				// 对请求错误做些什么
				return Promise.reject(error);
			});
			axios.interceptors.response.use(response => {
				//拦截响应，做统一处理
				if(response.data){
					var referer = encodeURIComponent(window.location.href);
					if(response.data.isuser){
						window.location.href = 'user.php?mod=login&referer='+referer;
					}else if(response.data.loginstatus == 0){
						window.location.href = 'admin.php?mod=login&referer='+referer;
					}
				}
				return response
			});
		</script>


